﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="PersonDemo.aspx.cs" Inherits="WebAppDemo.Performance.PersonDemo" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <asp:DataList ID="dlPersonList" runat="server">
            <ItemTemplate>
                <%#Eval("Name") %>
            </ItemTemplate>
        </asp:DataList>
        Name:<asp:TextBox ID="tbName" runat="server"></asp:TextBox>
        <asp:Button ID="btnAdd" runat="server" Text="添加" onclick="btnAdd_Click" />
        <br />
        ID:<asp:TextBox ID="txtId" runat="server"></asp:TextBox>
        <asp:Button ID="Button1" runat="server" Text="删除" onclick="Button1_Click" />
        <br />
        <asp:Button ID="Button2" runat="server" onclick="Button2_Click" Text="显示" />
    </div>
    </form>
</body>
</html>
